<?php


namespace app\index\controller;
use think\Model;

class Classes extends Model
{
    protected $table = 'sc_classes';
   protected $pk='cl_id';
public function students()
{
    return $this->belongsTo('Students');
}

}
